How to generate the XML by running a report

Generating the XML that you require for your XML Import data file can be achieved fairly easily by using EMu's reporting tool. Simply add the required fields to an Export XML Document report and run the report.

For example, to generate the XML we have been using for the Events module exercises throughout this course:

  1. Run a search in the Events module.
  2. Select Tools>Reports from the Menu bar.
  3. Create a new report.
  4. Give it a name.
  5. Select Export XML Document from the Type drop list:

    db_report_properties_xml_train.gif

  6. On the Fields tab, add the relevant fields:

    db_report_properties_xml2_train.gif

  7. Click OK.
  8. Click Report to run the report.
  9. Save and view the xml file:

    ex_xmldata_train.gif

    Here you have the XML structure ready for your import data.